<div class="page-body">
    <div class="row">
        <div class="widget">
            <div class="widget-body">
                <div id="horizontal-form">
                    <form class="form-horizontal" role="form"
                          action="{:U('User/editAddress')}" method="post">
                        <input type="hidden" value="{$user_id}" name="user_id">
                        <div class="form-group">
                            <label for="sm" class="col-sm-3 control-label no-padding-right">收货人姓名：</label>
                            <div class="col-sm-3">
                                <input type="text" class="form-control" id="sm" name="name" value="{$data.name}"
                                       required>
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-3 control-label no-padding-right">联系电话：</label>
                            <div class="col-sm-3">
                                <input type="number" class="form-control"  name="phone" value="{$data.phone}"
                                       required>
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-3 control-label no-padding-right">省(例，浙江省)：</label>
                            <div class="col-sm-3">
                                <input type="text" class="form-control"  name="province" value="{$data.province}"
                                       required>
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-3 control-label no-padding-right">市：</label>
                            <div class="col-sm-3">
                                <input type="text" class="form-control"  name="city" value="{$data.city}"
                                       required>
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-3 control-label no-padding-right">区：</label>
                            <div class="col-sm-3">
                                <input type="text" class="form-control"  name="district" value="{$data.district}"
                                       required>
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-3 control-label no-padding-right">具体地址：</label>
                            <div class="col-sm-3">
                                <input type="text" class="form-control"  name="address" value="{$data.address}"
                                       required>
                            </div>
                        </div>
                        <div class="form-group  ">
                            <div class="col-sm-offset-3 col-sm-10">
                                <button type="submit" class="btn btn-primary">提 交</button>
                            </div>
                        </div>
                    </form>
                </div>
            </div>
        </div>
    </div>
</div>